

#ifndef _SHELL_REQEXERCISEKUNGFU_MESSAGE_H_
#define _SHELL_REQEXERCISEKUNGFU_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqExerciseKungfuMessage : public Message
{
	public:
	ReqExerciseKungfuMessage();
	~ReqExerciseKungfuMessage();
	void reset();
	ReqExerciseKungfuMessage* clone();
	static const int _ID;
	//消耗功夫id
	int32 consumeKungfuId;
	//是否消耗元宝:0不消耗,1消耗
	int8 isDollar;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
